package com.sunhao.common;


import com.sunhao.common.constant.ProductConstant;
import io.swagger.models.auth.In;
import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import java.util.concurrent.TimeUnit;

@Slf4j
public class Main {
    static int a = 0;
    public static void main(String[] args) throws ExecutionException, InterruptedException {
        System.out.println(new BigDecimal("0.1"));
    }
}
class Fruit{
    public void eat(){
        System.out.println("吃水果");
    }
}

class Apple extends Fruit{
    @Override
    public void eat() {
        System.out.println("吃苹果");
    }
}